package sg.edu.nus.iss.vmcs.controller;
import sg.edu.nus.iss.vmcs.util.*;
/**
 * 
 * @author Chomeaye
 *
 */
public abstract class MoneyReceiver {
	
	
	protected TransactionController transCtlr;
	protected int totalInserted;
	
	public MoneyReceiver(TransactionController ctlr){
		transCtlr = ctlr;
	}
	
//	protected void startReceive()throws VMCSException{	
//		totalInserted = 0;
//		//updateTotalMoneyInsertedDisplay(totalInserted);		
//	}
	
	public abstract void continueReceive() throws VMCSException;
	//public abstract int getTotalInserted()throws VMCSException;
	public abstract boolean storeCash()throws VMCSException;
	public abstract void refundCash()throws Exception;
	public abstract void stopReceive()throws VMCSException;
	//public abstract void setActive(boolean active)throws VMCSException;
	

	
}
